import {on ,emit, remove} from './observer.js'

on('add',function(count){
  console.log('add1 listen is call')
  
});

on('add',function(count){
  console.log('add2 listen is call')
  
});
var count =0
emit("add",count++);


var showFun = function(){
  console.log('show is called')
}

on('show',showFun)

remove('show')

emit('show')